package uestc.lj.common.exception;

/**
 * @Author:Crazlee
 * @Date:2021/6/16
 */
public class NoStockException extends RuntimeException {
    private Long skuId;

    public NoStockException() {
    }

    public NoStockException(Long skuId) {
        super(skuId + "号商品暂无库存！");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
